#ifndef _SUBTESTNODELET_H
#define _SUBTESTNODELET_H

#include <cstdint>
#include <cstdlib>
#include <time.h>
#include <nodelet/nodelet.h>
#include <pluginlib/class_list_macros.h>
#include "module_base/module_base.h"
#include "std_msgs/String.h"
#include "sensor_msgs/Image.h"
#include <thread>

namespace module_base
{
class SubTestNodelet : public ModuleBase
{

public:
	SubTestNodelet(){};
	~SubTestNodelet(){};
	virtual void onInit();

private:
	void test_callback(const sensor_msgs::Image::ConstPtr& msg);
	int count_;
	float total_diff_;

};//class

}//namespace


#endif